ReadMe file for 

Eder, Franz, 2017, "Replication Data for: Making Concurrence-Seeking Visible: Groupthink, Discourse Networks, and the Iraq War 2003", doi:10.7910/DVN/FII5ZL, Harvard Dataverse

#------------------------------
# System
#------------------------------

I calculated the networks as well as the network metrics on the following system:

- Mac Pro (Late 2013)
- 2.7 GhZ 12 Core Intel Seon E5
- 64 GB 1866 MHz DDR3 RAM
- macOS Sierra Vers. 10.12.5

#------------------------------
# Required Programs
#------------------------------

DNA 1.31
https://github.com/leifeld/dna/releases/download/1.31/dna-1.31.jar
download and copy into folder of .dna-file

Gephi 0.8.1 (there are some issues with the newer version, so please use version 0.8.1)
https://github.com/gephi/gephi/releases/tag/v0.8.1
download and install


#------------------------------
# Load and export DNA-file in DNA 1.31
#------------------------------

"File" - "Open DNA file..." - choose "dna_administration_140128.dna" and open

Example for Figure 1 [affiliation network (person x categorie) of threat discourse (see appendix for list and grouping of categories) from January 2001 until 11 September 2001]

"Export" - "Network Export" - 
		Options:
			- ALGORITHM "Affiliation Network"
			- EXPORT FORMAT: "graphML"
			- TIME PERIOD: "17.01.2001" - "10.09.2001"
			- NETWORK TYPE: "pers x cat"
			- AGREEMENT: "yes"
			- CATEGORIES: (choose the following categories by first selecting all categories and then de-selecting the following categories)
				- "history of WMD-use"
				- "history of WMD development"
				- "possession/development of WMD"
				- "concealment"
				- "cooperation/compliance"
				- "aggressive actor"
				- "tyranny"
				- "underestimation of the threat"
				- "post-Cold-War security environment"
				- "post-9/11 security environment"
				- "terrorists and state supporter as enemies"
				- "terrorists seek/will use WMD"
				- "rogue states could hand over WMD to terrorists"
				- "rogue state threat with WMD"
				- "support of terrorism"
				- "freedom vs. tyranny"
				- "GWoT comparable to WWII"
				- "GWoT comparable to Vietnam War"
				- "9/11 comparable to Pearl Harbor"
				- "one peace of the puzzle for winning the GWoT"
"Export..." - Speichern unter: "threat_aff_pc_yes_P1.graphml"

Example for congruence network (person x person via categorie) in period 1 (January 2001 until 11 September 2001) to calculate modularity

"Export" - "Network Export" - 
		Options:
			- ALGORITHM "Number of co-occurences"
			- EXPORT FORMAT: "graphML"
			- TIME PERIOD: "17.01.2001" - "10.09.2001"
			- NETWORK TYPE: "person x person via cat"
			- AGREEMENT: "substract"
			- CATEGORIES: (choose the following categories by first selecting all categories and then de-selecting the following categories)
				- "history of WMD-use"
				- "history of WMD development"
				- "possession/development of WMD"
				- "concealment"
				- "cooperation/compliance"
				- "aggressive actor"
				- "tyranny"
				- "underestimation of the threat"
				- "post-Cold-War security environment"
				- "post-9/11 security environment"
				- "terrorists and state supporter as enemies"
				- "terrorists seek/will use WMD"
				- "rogue states could hand over WMD to terrorists"
				- "rogue state threat with WMD"
				- "support of terrorism"
				- "freedom vs. tyranny"
				- "GWoT comparable to WWII"
				- "GWoT comparable to Vietnam War"
				- "9/11 comparable to Pearl Harbor"
				- "one peace of the puzzle for winning the GWoT"
"Export..." - Speichern unter: "threat_cooc_pc_sub_P1.graphml"


#------------------------------
# Import .graphML-file in GEPHI 0.8.1
#------------------------------

"File" - "Open..." - choose "threat_aff_pc_yes_P1.graphml" 
		Options:
			- GRAPH TYPE: "Directed"
			- AUTO-SCALE yes
			- CREATE MISSING NODES yes
			- NEW GRAPH
			(ignore issues)

go to "Data Laboratory"
		"Copy data to other column" - "d0" to "label" (so that the nodes are labeled)

go to "Overview"
		- activate "Show Node Labels" by clicking on "T" at the bottom of the "Graph"-Window
		- go to "Layout"-Window
			- choose "ForceAtlas 2" and shortly run it
			- choose "Fruchterman Reingold" and shortly run it
		- go to "Statistics"-Window
			- Run "Graph Density" - Result: 0.062
			- Run "Modularity" - Result: 0.486
		- go to "Partition"-Window
			- refresh
			- choose "Modularity Class" and "apply"

"File" - "Open..." - choose "threat_cooc_pc_sub_P1.graphml" 
		Options:
			- GRAPH TYPE: "Unirected"
			- AUTO-SCALE yes
			- CREATE MISSING NODES yes
			- NEW GRAPH
			(ignore issues)

go to "Data Laboratory"
		"Copy data to other column" - "d0" to "label" (so that the nodes are labeled)

go to "Overview"
		- activate "Show Node Labels" by clicking on "T" at the bottom of the "Graph"-Window
		- go to "Layout"-Window
			- choose "ForceAtlas 2" and shortly run it
			- choose "Fruchterman Reingold" and shortly run it
		- go to "Statistics"-Window
			- Run "Modularity" - Result: 0.219

